<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    [#include "inc_head.html"/]
    <meta property="wb:webmaster" content="b6906fdd1ba07983" />
</head>
<body>
[#include "inc_header.html"/]
[#include "inc_focus.html"/]
<div class="menu">
    <ul class="menuul">
        [#assign size=0]
        [@InfoList nodeId=85 limit=8;list]
        [#list list as info]
        <li><a href="${info.customs['url']}" target="_blank" title="${info.title}"><img width="114" height="114" src="${info.customs['imageurl']}"/></a></li>
        [#if info_has_next][#assign size=size+1 /][/#if]
        [/#list]
        [/@InfoList]
    </ul>
</div>
<div class="area">
    <div class="left">
        <div class="box">
            <div class="tit"><h2 class="hico01">病例管理</h2><a href="/node/82.jspx" class="more">More</a></div>
            <ul class="list12">
                [#assign size=0]
                [@InfoList nodeId=82 excludeNodeId=94 isIncludeChildren=true limit=6;list]
                [#list list as info]
                <li>[@A bean=info length="16" append=".." target="_blank"/][#if info.publishDate > now1?datetime]<span class="new">&nbsp;</span>[/#if]</li>
                [#if info_has_next][#assign size=size+1 /][/#if]
                [/#list]
                [/@InfoList]
            </ul>
        </div>
        <div class="box">
            <div class="tit"><h2 class="hico02">医患关系</h2><a href="/node/83.jspx" class="more">More</a></div>
            <ul class="list12">
                [#assign size=0]
                [@InfoList nodeId=83  isIncludeChildren=true limit=6;list]
                [#list list as info]
                <li>[@A bean=info length="16" append=".." target="_blank"/][#if info.publishDate > now1?datetime]<span class="new">&nbsp;</span>[/#if]</li>
                [#if info_has_next][#assign size=size+1 /][/#if]
                [/#list]
                [/@InfoList]
            </ul>
        </div>
    </div>
    <div class="center">
        <div class="box">
            <div class="tit"><h2 class="hico03">论文天地</h2><a href="/node/76.jspx" class="more">More</a></div>
            <ul class="list12">
                [#assign size=0]
                [@InfoList nodeId=76  isIncludeChildren=true limit=6;list]
                [#list list as info]
                <li>[@A bean=info length="30" append=".." target="_blank"/][#if info.publishDate > now1?datetime]<span class="new">&nbsp;</span>[/#if]</li>
                [#if info_has_next][#assign size=size+1 /][/#if]
                [/#list]
                [/@InfoList]
            </ul>
        </div>
        <div class="box">
            <div class="tit"><h2 class="hico04">医学资讯</h2><a href="/node/36.jspx" class="more">More</a></div>
            <ul class="list12">
                [#assign size=0]
                [@InfoList nodeId=36  isIncludeChildren=true limit=6;list]
                [#list list as info]
                <li>[@A bean=info length="30" append=".." target="_blank"/][#if info.publishDate > now1?datetime]<span class="new">&nbsp;</span>[/#if]</li>
                [#if info_has_next][#assign size=size+1 /][/#if]
                [/#list]
                [/@InfoList]
            </ul>
        </div>
    </div>
    <div class="right">
        <ul class="tab" id="utab1">
            <li class="cur"><a href="javascript:changeUserOrGoods(0);" class="tabico01">会员专区</a></li>
            <li><a href="/my_goods.jspx" target="_blank" class="tabico02">礼品兑换</a></li>
        </ul>
        <div class="tabcon" id="divMember">
            <ul class="ptlist1" >

                [@CommentList limit=6;list]
                [#list list as comment]
                <li>
                    <a href="/info/${comment.info.id}.jspx" target="_blank">
                        [#if comment.creator.detail.avatar??]
                        <img src="${comment.creator.detail.avatar}" width="26" height="30">
                        [#else]
                        <img src="_files/images/default_user_logo.jpg" width="26" height="30">
                        [/#if]
                        <p><span class="col">${comment.creator.printName}：</span>${comment.text!}</p>
                        <span class="time">
                        ${(comment.creationDate?string("yyyy-MM-dd'T'HH:mm:ss"))?datetime?iso("GMT+00:00")?replace("Z"," ")?datetime?string("yyyy-MM-dd")}
                        </span>
                    </a>
                </li>
                [/#list]
                [/@CommentList]
            </ul>
        </div>
        <div class="tabcon" id="divGoods" style=" display:none">
            <ul class="ptlist1">
                [@InfoList nodeId=98 limit=4;list]
                [#list list as info]
                <li>
                    <a href="/my_goods.jspx" target="_blank"><img src="${info.customs['smallImage']}" alt="${info.title}" width="126" height="70"/></a>
                    <p style="width:80px">${info.title}<br/>
                        需积分：${info.customs["score"]}
                    </p>
                </li>
                [/#list]
                [/@InfoList]
            </ul>
        </div>
    </div>
</div>
<div class="vbox">
    <h2>在线视频</h2>
    <ul class="vlist">
        [@InfoList nodeId=51 limit=10;list]
        [#list list as info]
        <li style="left: 266px; width: 456px; height: 270px; top: 10px;">
            <i class="tl"></i>
            <i class="tr"></i>
            <i class="bl"></i>
            <i class="br"></i><!--4个i是兼容ie6 7 8-->
            <div class="bg"></div>
            <span class="vtit">${substring(info.title,10,'...')}</span>
            <div class="vcon">
                <a class="videopic" href="${info.url}" target="_blank"><img src="${info.smallImage!}"/></a>
            </div>
            <div class="vtip">
                <h3>${substring(info.title,12,'..')}</h3>
                <!--<p>${info.metaDescription!}</p>-->
            </div>
        </li>
        [/#list]

        [/@InfoList]
    </ul>
</div>
<div class="linkcon">
    <strong>友情<br/>链接</strong>
    [@FriendlinkList ;list]
    [#assign i = 0]
    [#list list as link]
    [#assign i=i+1]

    [#if i==list?size]
    <a href="${link.url}" target="_blank"><img src="${link.logo!}" /></a>
    [#else]
    <span class="line"><a href="${link.url}" target="_blank"><img src="${link.logo!}" /></a></span>
    [/#if]
    [/#list]
    [/@FriendlinkList]
</div>
[#include "inc_footer.html"/]
[#include "inc_fankui.html"/]

</body>
</html>




<script type="text/javascript">
    $(function() {
        function sid(Mobj, pre, curnum, next, leftright) {
            var time0 ,time1, time2;
            if(leftright>0){

                time0 = 300;
                time1 = 400;
                time2 = 500;
            }else{
                time0 = 300;
                time1 = 400;
                time2 = 500;
            }

            Mobj.eq(pre).animate({
                left: '0',
                width: '340',
                height: '226',
                top: '45',
                zIndex: '2'
            }, time0, function () {
                $(this).find(".vtip").hide();
                $(this).find(".bg").show();
                $(this).find(".vcon img").css({"width": 320, "height": 174})

            }).show();
            Mobj.eq(curnum).animate({
                left: '266',
                width: '456',
                height: '270',
                top: '10',
                zIndex: '60'

            }, time1, function () {
                $(this).find(".vtip").show();
                $(this).find(".bg").hide();
                $(this).find(".vcon img").css({"width": 436, "height": 220})

            }).show();
            Mobj.eq(next).animate({
                left: '640',
                width: '340',
                height: '226',
                top: '45',
                zIndex: '2'
            }, time2, function () {
                $(this).find(".vtip").hide();
                $(this).find(".bg").show();
                $(this).find(".vcon img").css({"width": 320, "height": 174})

            }).show();

            for(var i=0;i<plen;i++) {
                if (i != pre && i != curnum && i != next) {
                    Mobj.eq(i).attr("style","left: 266px; width: 456px; height: 270px; top: 10px;").hide();//.;
                }
            }

        }

        var Mobj = $(".vlist>li");
        var plen = Mobj.length;
        var pre = 0;
        var curnum = 1;
        var next = 2;
        sid(Mobj, 0, 1, 2, -1);

        function slideByClick() {
            var index = $(this).index();
            if (index != curnum) {
                var lr = index - curnum;
                curnum = index;
                pre = ((curnum - 1) == -1) ? plen - 1 : curnum - 1;
                next = ((curnum + 1) == plen) ? 0 : curnum + 1;
                sid(Mobj, pre, curnum, next, lr);
            }
        }

        Mobj.click(slideByClick);

        $("#utab1>li").mouseenter(function () {
            $(this).addClass("cur").siblings(".cur").removeClass("cur");
            var index = $(this).index();
            $("#utab1").siblings(".tabcon").hide().eq(index).show();
        })
    });

    function changeUserOrGoods(type){
        if(type==0){
            $('divMember').show();
            $('divGoods').hide();
        }
        if(type==1){
            $('divMember').hide();
            $('divGoods').show();
        }
    }

</script>
